<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
    py:extends="'../master.kid'">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
<title>Article editor : ${article.Title}</title>
<script type="text/javascript" src="${tg.url('/static/javascript/MochiKit/Base.js')}"></script>
<script type="text/javascript" src="${tg.url('/static/javascript/MochiKit/Async.js')}"></script>
<script type="text/javascript" src="${tg.url('/static/javascript/MochiKit/DOM.js')}"></script>
<script type="text/javascript" src="${tg.url('/static/javascript/article_editor.js')}"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
var article_id=${article.id};
var Path='${tg.url('/article_editor/')}';
//-->
</script>
<div py:for="header in article_header" py:replace="XML(header)"></div>
<style type="text/css" media="screen">
@import "${tg.url('/static/css/article.css')}";
</style>
</head>
<body>
	<div id="article_title" class="article_title">
		${article.Title}
	</div>
	<br />
	<input id="title" type="text" name="textfield" />
	<a href="javascript: LoadCommandResult('modify_title', {'title': document.getElementById('title').value});">Modify</a>
	<br />
	<br />
	${XML(article_content)}
</body>
</html>
